fname = 'sample.asc';

edff  = ASCFILE(fname);
analysis = ET_ANALYSIS(edff);
analysis.refresh_rate = analysis.resample;
dcm = data_fitting(analysis);

data_fitting(fname);